package com.len.entity;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@Getter
@Setter
@ToString
@Table(name = "t_demand")
public class TDemand {
  @Id
  private String id;
  private String orderNo;
  private Date addTime;
  private String weight;
  private String period;
  private String foreignPrient;
  private String foreignHandle;
  private String receiving;
  private String file;
  private List<TProductDemand> taskDetails;

  public List<TProductDemand> getTaskDetails() {
    return taskDetails;
  }

  public void setTaskDetails(List<TProductDemand> taskDetails) {
    this.taskDetails = taskDetails;
  }

  public Date getAddTime() {
    return addTime;
  }

  public void setAddTime(Date addTime) {
    this.addTime = addTime;
  }

  public String getFile() {
    return file;
  }

  public void setFile(String file) {
    this.file = file;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getOrderNo() {
    return orderNo;
  }

  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo;
  }

  public String getWeight() {
    return weight;
  }

  public void setWeight(String weight) {
    this.weight = weight;
  }


  public String getPeriod() {
    return period;
  }

  public void setPeriod(String period) {
    this.period = period;
  }


  public String getForeignPrient() {
    return foreignPrient;
  }

  public void setForeignPrient(String foreignPrient) {
    this.foreignPrient = foreignPrient;
  }


  public String getForeignHandle() {
    return foreignHandle;
  }

  public void setForeignHandle(String foreignHandle) {
    this.foreignHandle = foreignHandle;
  }


  public String getReceiving() {
    return receiving;
  }

  public void setReceiving(String receiving) {
    this.receiving = receiving;
  }

}
